package com.xiaoshuidi.cloud.framework.fadada.core;

import com.xiaoshuidi.cloud.framework.fadada.core.service.dto.*;
import com.fadada.sdk.base.model.req.*;
import com.fadada.sdk.verify.model.req.CancelExtsignAutoPageParams;

/**
 * @Description:
 * @author: zhaoyu
 * @date: 2023/4/24
 */
public interface FadadaContractServiceApi {
    //印章上传
    AddSignatureRes addSignature(AddSignatureParams params);

    //自定义印章
    CustomSignatureRes customSignature(CustomSignatureParams params);

    //合同上传
    Boolean uploaddocs(UploadDocsParams params);

    //模板上传
    Boolean uploadtemplate(UploadTemplateParams params);

    //模板填充
    FadadaUploadResponse generateContract(GenerateContractParams params);

    //手动签署
    String extsign(ExtSignParams params);

    //获取授权自动签页面接口
    String beforeAuthsign(BeforeAuthSignParams params);

    //取消授权签协议接口
    String cancelExtsignAutoPage(CancelExtsignAutoPageParams params);

    //查询授权自动签状态接口
    GetAuthStatusRes getAuthStatus(GetAuthStatusParams params);

    //自动签署
    FadadaUploadResponse extsignAuto(ExtSignAutoParams params);

    //合同归档
    Boolean contractFiling(ContractFillingParams params);

    //合同下载
    String downLoadContract(DownloadPdfParams params);

    //合同查看
    String viewContract(ViewPdfURLParams params);

    //企业信息匹配查询
    FadadaResponse companyInfoCompare(CompanyInfoCompareParams params);

    //自动同步企业信息
    FadadaSyncCompanyRes syncCompanyAuto(SyncCompanyAutoParams params);
}
